import * as types from '../constants/ActionTypes';

const initialState = {
  PerformanceData: {},
};

const MysReducer = (state = initialState, action) => {
  switch (action.type) {
    case types.MYS_PERFORMANCE:
      return ({ ...state,
        ...{
          PerformanceData: action.PerformanceData,
        } });
    default:
      return state;
  }
};

export default MysReducer;
